<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<script id="allmobilize" charset="utf-8"
	src="style/js/allmobilize.min.js"></script>
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate" media="handheld" />
<!-- end 云适配 -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>注册-拉勾网-最专业的互联网招聘平台</title>
<meta property="qc:admins" content="23635710066417756375" />
<meta content="拉勾网是3W旗下的互联网领域垂直招聘网站,互联网职业机会尽在拉勾网" name="description">
<meta
	content="拉勾,拉勾网,拉勾招聘,拉钩, 拉钩网 ,互联网招聘,拉勾互联网招聘, 移动互联网招聘, 垂直互联网招聘, 微信招聘, 微博招聘, 拉勾官网, 拉勾百科,跳槽, 高薪职位, 互联网圈子, IT招聘, 职场招聘, 猎头招聘,O2O招聘, LBS招聘, 社交招聘, 校园招聘, 校招,社会招聘,社招"
	name="keywords">

<meta name="baidu-site-verification" content="QIQ6KC1oZ6" />

<!-- <div class="web_root"  style="display:none">h</div> -->
<script type="text/javascript">
	var ctx = "h";
</script>
<link rel="Shortcut Icon" href="h/images/favicon.ico">
<link rel="stylesheet" type="text/css" href="style/css/style.css" />

<script src="style/js/jquery.1.10.1.min.js" type="text/javascript"></script>

<script type="text/javascript" src="style/js/jquery.lib.min.js"></script>
<script type="text/javascript" src="style/js/core.min.js"></script>



<script type="text/javascript" src="style/js/conv.js"></script>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<script src="js/jquery-3.2.1.js"></script>


</head>
<script type="text/javascript">
	var youdao_conv_id = 271546;
	function yzm() {
		$('#myspan1').html("");
		$('#myspan2').html("");
		$('#myspan3').html("");
		$('#myspan4').html("");
		$('#myspan5').html("");
		var email = $('#email').val();
		var danxuan = $("input[name='a']:checked").val();
		$.post("ZCYZMServlet", {
			email : email,danxuan:danxuan
		}, function(obj) {
			if (obj == "验证码发送成功！") {
				$('#myspan1').html(obj);
			} else if(obj == "邮箱不能为空！"){
				$('#myspan1').html(obj);
			}else if(obj == "邮箱格式错误！"){
				$('#myspan1').html(obj);
			}else if(obj == "用户邮箱已经注册过了!"){
				$('#myspan1').html(obj);
			}else if(obj == "邮箱不能为空！"){
				$('#myspan1').html(obj);
			}else if(obj == "公司邮箱已经注册过了!"){
				$('#myspan1').html(obj);
			}
			
			

		})

	}
	function zhuce() {
		$('#myspan1').html("");
		$('#myspan2').html("");
		$('#myspan3').html("");
		$('#myspan4').html("");
		$('#myspan5').html("");
		
		
		
		
		
		var email = $('#email').val();
		var danxuan = $("input[name='a']:checked").val();
		var yzmm = $('#yzmm').val();
		var password = $('#password').val();
		var yzm = $('#yzm').val();
		var xieyi = $("input[name='xieyi']:checked").val();
		
		$.post("AjaxRegisterServlet", {
			email : email,danxuan:danxuan,yzmm:yzmm,password:password,yzm:yzm,xieyi:xieyi
		}, function(obj) {
			if(obj=="邮箱验证码不正确！"){
				$('#myspan2').html("邮箱验证码不正确！");
			} else if(obj == "密码过短，不安全！请重新设置"){
				$('#myspan3').html(obj);
			}else if(obj == "验证码错误！"){
				$('#myspan4').html(obj);
			}else if(obj == "请先仔细阅读协议！"){
				$('#myspan5').html(obj);
			}else if(obj == "注册用户成功！"){
				$('#myspan5').html(obj);
			}else if(obj == "注册公司成功！"){
				$('#myspan5').html(obj);
			}
			
		})

	}
	
	
	
	
	
</script>

<body id="login_bg">
	<div class="login_wrapper">
		<div class="login_header">
			<a href="ToIndexServlet"><img src="style/images/logo_white.png" width="285"
				height="62" alt="拉勾招聘" /></a>
			<div id="cloud_s">
				<img src="style/images/cloud_s.png" width="81" height="52"
					alt="cloud" />
			</div>
			<div id="cloud_m">
				<img src="style/images/cloud_m.png" width="136" height="95"
					alt="cloud" />
			</div>
		</div>

		<input type="hidden" id="resubmitToken" value="" />


		<div class="login_box">
			<div id="loginForm">
			
					<div style="color: green">
						<input type="radio" name="a" value="1" id="user" checked="checked" />找工作
						&nbsp;
						<input type="radio" name="a" id="business" value="2" />招人

					</div>
					<br /> 
					<script src="js/jquery-3.2.1.js"></script>

					<input style="width: 250px" type="text" id="email" name="email" value=""
						tabindex="1" placeholder="请输入常用qq邮箱地址" />&nbsp;&nbsp;&nbsp;&nbsp; 
						
						
						
						
						<input
						type="button" value="发送验证码" onclick="yzm()" />  
						&nbsp;<span
						id="myspan1"></span><br /> <br /> 
						
						<input style="width: 250px"
						type="text" id="yzmm" tabindex="2" name="yzm" value=""
						placeholder="请输入邮箱验证码" /><br /> 
						&nbsp;<span id="myspan2"></span><br /><br />
						
					<input style="width: 250px" type="password" id="password" name="password" tabindex="2"
						placeholder="请输入密码" /><br /> 
						&nbsp;<span id="myspan3"></span><br /><br />
						
						<input type="text" id="yzm" name="yzm"
						tabindex="3" placeholder="请输入验证码" style="width: 250px" />
					&nbsp;&nbsp;&nbsp;&nbsp;<img src="image.jsp"
						onclick="src='image.jsp?'+Math.random()" />
						
						
						 <span class="error"
						style="display: none;" id="beError"></span> <label
						class="fl registerJianJu" for="checkbox">  
					&nbsp;<span id="myspan4"></span><br/><br/>
						
						
						 <input
						type="checkbox" id="checkbox" name="xieyi" checked
						class="checkbox valid" value="1" />我已阅读并同意<a href="xieyi.jsp">《拉勾用户协议》</a>
					</label><br /> <br/>
					<br />
					<br />
					<label class="fl" for="remember"></label>

				
					<input type="button" value="注册" style="color: #fff;"
						class="submitLogin" title="注 &nbsp; &nbsp; 册" onclick="zhuce()" /><br/> &nbsp;
 <span id="myspan5"></span><br/> <input
						type="hidden" id="callback" name="callback" value="" /> <input
						type="hidden" id="authType" name="authType" value="" /> <input
						type="hidden" id="signature" name="signature" value="" /> <input
						type="hidden" id="timestamp" name="timestamp" value="" />
				
			</div>

			<div class="login_right">
				<div>
					<br /> <br /> <br /> <br /> <br />已有拉勾帐号
				</div>
				<p><a href="login.jsp" class="registor_now">直接登录</a></p>
				<div class="login_others"></div>

			</div>
		</div>
		<div class="login_box_btm"></div>
	</div>


</body>
</html>
